import Button, {ButtonType, ButtonSize} from './components/Button/button'
import Menu from './components/Menu/menu'
import MenuItem from './components/Menu/menuItem'
function App() {
  return (
    <>
      <Menu defaultIndex={0} onSelect={(index) => {}} mode={'vertical'}>
        <MenuItem index={1} disabled>cook link</MenuItem>
        <MenuItem  index={2}>cool link 2</MenuItem>
        <MenuItem  index={3}>cool link 3</MenuItem>
      </Menu>

      <Button autoFocus>default</Button>
      <Button disabled>Disabled</Button>
      <Button btnType={ButtonType.Danger} size={ButtonSize.Large}>Danger Large</Button>
      <Button btnType={ButtonType.Primary} size={ButtonSize.Small}>Primary Small</Button>
      <Button btnType={ButtonType.Link} href="http://www.baidu.com"> Link </Button>
      <Button btnType={ButtonType.Link} disabled href="http://www.baidu.com"> Link disabled</Button>
    </>
  )
}

export default App
